The Canadian government will introduce legislation next year that would make the sale of marijuana legal, its health minister has said.