MEMS-based Fresnel lens