Magnetic g-C3N4/NiFe2O4 hybrids with enhanced photocatalytic activity