what is the chemical formula of a diamond