Laser Method for Studying Temperature Distribution within Yb:YAG Active Elements