A study of the surface chemistry, morphology and wear of silicon based MEMS