Automated detection and time lapse analysis of dendritic spines in laser scanning microscopy images