Properties of atoms and bonds in hydrocarbon molecules