Enhanced photoelectrochemical activity of Co-doped β-In2S3 nanoflakes as photoanodes for water splitting