Photoinduced effects in ZnO films deposited on MgO substrates