molecular structure composed of hydrogen and carbon