Regulation of the osteoblastic and chondrocytic differentiation of stem cells by the extracellular matrix and subsequent bone formation modes.