Effect of organic capping agent on the photocatalytic activity of MgO nanoflakes obtained by thermal decomposition route