Dynamical behavior of a layered piezocomposite using the asymptotic homogenization method