Optical and mechanical models for a variable optical attenuator using a micromirror drawbridge