Fluorescence lineshape studies of thermal unfolding and secondary structure transitions in proteins