Visible-light photocatalytic capability and the mechanism investigation of a novel PANI/Sn3O4 p–n heterostructure