A double-end-beam based infrared device fabricated using CMOS-MEMS process