Effectiveness of needle-exchange programmes for prevention of HIV infection