Loss mechanisms in mid-infrared extraordinary optical transmission gratings.