Role of chlorine in In2S3 for band alignment at nanoporous-TiO2/In2S3 interfaces