Effect of composite microstructure and porosity on elastic properties of glass and polycrystalline creamics