Realizing tunable Fermi level in SnTe by defect control