Fluctuations and critical temperature in the study of collective motion in excited nuclei