The Liberal Democrat leadership candidate Norman Lamb has called for the UK to legalise, regulate and tax the sale of cannabis.