A two-rigid block model for sliding gravity retaining walls