Magnetization direction reorientation in ultrathin ferromagnetic films : Spin reorientation transition by H adsorption in the Valenta model