In-plane and out-of-plane mechanical characterization of thin polysilicon