THE LAMOST SPECTROSCOPIC SURVEY OF STAR CLUSTERS IN M31. II. METALLICITIES, AGES, AND MASSES