Effects of shape and volume fraction of closed pores on dielectric, elastic, and electromechanical properties of dielectric and piezoelectric ceramics: a theoretical approach