In-site synthesis of an inorganic-framework molecular imprinted TiO2/CdS heterostructure for the photoelectrochemical sensing of bisphenol A.