Rapid thermo-optical quality assessment of laser gain media