In situ XRD study of nanocrystalline cobalt oxide reduction