A bungling crook was caught red-handed raiding a discount store by an off-duty police officer out shopping in Nottingham.