Fabrication of polymer microstructures for MEMS: sacrificial layer micromolding and patterned substrate micromolding