Thermoelectric properties of the quaternary chalcogenides BaCu5.9STe6 and BaCu5.9SeTe6.