A patient suffering with swine flu has died in hospital in Scotland - the first victim of the pandemic outside the Americas.