Band Alignments, Band Gap, Core-levels and Valence-Band States in Cu3BiS3 for Photovoltaics.