Coupled translation-rotation dynamics of H2 and H2O inside C60: Rigorous quantum treatment