Atomic-scale tuning of oxygen-doped Bi2Te2.7Se0.3 to simultaneously enhance the Seebeck coefficient and electrical conductivity.