Ultrathin ternary semiconductor TlGaSe2 phototransistors with broad-spectral response