A facile synthesis of g-C3N4/TiO2 hybrid photocatalysts by sol–gel method and its enhanced photodegradation towards methylene blue under visible light