Aluminum nitride microelectromechanical infrared detectors with integrated metamaterial absorbers