Control of solid-state lasers using an intra-cavity MEMS micro-mirror