A precise solution of the rotation bending Schrödinger equation for a triatomic molecule with application to the water molecule