Heart attack rates in Scotland have dropped dramatically in smokers and non-smokers since the country passed a non-smoking law for public places, finds a large study.