Controlled nanometer liquid layer thicknesses for the study of nanomaterials and biospecimens in liquid-cell transmission electron microscopy