C-axis oriented growth of magnetron sputtered YBaCuO thin films on MgO substrates