Step-edge junction of YBCO thin films on MgO substrates