The correlation between blue straggler and binary fractions in the core of Galactic globular clusters