Effective properties of piezoelectric composites with periodic structure