Scots curlers miss out on bronze in defeat to Japan