Patterned ALD sidewall metallization on CMOS MEMS and applications