Capillary origami and superhydrophobic membrane surfaces