Finite Element Analysis of Thermal Effects in Diode End-Pumped Solid-State Lasers