Evolution of the Dependence of Rest-Frame Color and Morphology Distribution on Stellar Mass for Galaxies in the Hubble Deep Field-North