Patterns of stress at midocean ridges and their offsets due to seafloor subsidence