Optical spectroscopic observations of low-energy counterparts of Fermi-LAT γ-ray sources