Models for physical properties and bioactivity of phosphate opal glasses