Stability and band offsets between Si and LaAlO3