Morphology and formation process of diamond from glassy carbon