Analysis of rock slope stability under rainfall conditions considering the water-induced weakening of rock