Study of MEMS gas sensor and its packaging