The blue straggler population of the globular cluster M5