The effect of strain and dead layer on the nonlinear electric-mechanical behavior of ferroelectric thin films