Scottish transport minister Stuart Stevenson resigned after the transport network was brought to a standstill by heavy snow.