Optical performance of variable attenuation in large-scale 3-D MEMS-based photonic cross-connects