Dynamics of water confined on the surface of titania and cassiterite nanoparticles