Roads and rail remain disrupted across parts of Scotland after a day of torrential rain and flooding.