Radiation hardness in ferroelectric thin films for MEMS applications