One-pot synthesis of CdS–reduced graphene oxide 3D composites with enhanced photocatalytic properties