State grants $45M for affordable homes to San Diego