Thin-film encapsulation of high frequency MEMS resonator for RF applications