Optical second-harmonic generation in atomic thallium vapor