Detection of stellar spots from the observations of caustic-crossing binary-lens gravitational microlensing events