One-step in situ synthesis of CdS/SnO2 heterostructure with excellent photocatalytic performance for Cr(VI) reduction and tetracycline degradation