Laser action in stellar atmospheres