Greig Laidlaw scored six second-half penalties to help give Scotland a 32-26 Six Nations win over France at Murrayfield.