Members of Scotland's Parliament have rejected minimum pricing for alcoholic drinks in their third and final vote on the policy.