Phase relations and optical properties of semiconducting ternary sulfides in the system Cu–Sn–S