Investigating Substrate Loss in MEMS Acoustic Resonators and On-Chip Inductors