Preparation and characterization of MgO thin films deposited by spray pyrolysis of Mg(2,4-pentanedionate)2