A facile and controllable protocol for simultaneous synthesis of magnetite nanoparticles and luminescent carbon dots