Nucleosynthesis of the Elements in Faint Supernovae and Hypernovae