Quantification of Dendritic Spines Remodeling under Physiological Stimuli and in Pathological Conditions