Self-assembled highly crystalline TiO2 mesostructures for sunlight-driven, pH-responsive photodegradation of dyes