Preparation and magnetic properties of magnetic photonic crystal by using monodisperse polystyrene covered Fe3O4 nanoparticles onto glass substrate