Woman who left baby on car roof sentenced