The COS-Halos Survey: Metallicities in the Low-redshift Circumgalactic Medium