Electromechanical Properties of Ferroelectric Thin Films under Alternating Mechanical and electrical Loadings