Modification of optical properties of MgO thin films by vapour chopping