Chemical composition of eclipsing binaries: a new approach to the helium-to-metal enrichment ratio