Stand-in captain Rory Darge produced a player-of-the-match display to guide Scotland to a gritty 15-12 win over Australia in a rain-soaked battle at Murrayfield.