The DEEP2 Galaxy Redshift Survey: The Galaxy Luminosity Function to z ~ 1