Molecular recognitive photocatalysis driven by the selective adsorption on layered titanates.