A study of vortex motion in YBa2Cu3Ox thin films as revealed by the simultaneous appearance of longitudinal and transverse voltages