Geological conditions and stability of rock slopes: two case studies