Preparation of CdS–TiO2/Fe3O4 photocatalyst and its photocatalytic properties