Laser-induced glare effect and image reconstruction via a frequency-aware transformer