An electron localization function study of the strain energy in carbon compounds