On the physicochemical control of collagen fibrillogenesis and biomineralization