Phase Dependence of the Colors of Type I and II Supernovae.