Optical MEMS based micromirror arrays: fabrication,characterization and potential applications in smart active windows