Infrared Metamaterials for Diffractive Optics