Temperature-insensitive frequency tripling for generating high-average power UV lasers.