Free-running and Q-switched operation of a diode pumped Er:YSGG laser at the 3 μm transition