Determination of the irreversibility field of YBCO thin films from pulsed high-field measurements