Cork-derived hierarchically porous hydroxyapatite with different stoichiometries for biomedical and environmental applications