Size effect on structure and infrared behavior in nanocrystalline magnesium oxide