Optical and mechanical performance of a novel magnetically actuated MEMS-based optical switch