A prolific thief has been jailed after a string of attacks on shops in Bedford which netted him thousands of pounds worth of tobacco and booze.