The Scots went down 32-15 to the double world champions at Murrayfield after dominating long periods of the second half.