Photocatalytic pathway on the degradation of methylene blue from aqueous solutions using magnetite nanoparticles