The effect of tensile and compressive loading on the hierarchical strength of idealized tropocollagen–hydroxyapatite biomaterials as a function of the chemical environment