Development of hierarchical magnesium oxide anchored cerium oxide nanocomposites with improved magnetic properties and photocatalytic performance