The effect of porosity gradients on compressive strength of hydroxyapatite scaffolds