California to offer four-year degrees at community colleges