Jimmy Carr apologises for &#8216;terrible error of judgement&#8217; over tax avoidance scheme