Dynamics of the transition from osteoblast to osteocyte