Liquid-walled optical MEMS