Fabrication of diffractive optical elements by programmable thermocapillary shaping of thin liquid films