Design, manufacturing, and performance analysis of mid-infrared achromatic half-wave plates with diamond subwavelength gratings.