Effect of pore clustering on the mechanical properties of ceramics