Carrier density enhancement in semiconducting NaSn and CsPb.