Geodynamic regimes of subduction under an active margin: effects of rheological weakening by fluids and melts