Correlation of dissociation energies of gaseous molecules and of heats of vaporization of solids. Part 1. - Homonuclear diatomic molecules