Hydrogen induced optically-active defects in silicon photonic nanocavities