Magnetoresistivity and Hall resistivity of a YBCO thin film in a tilted magnetic field