Conditions for large earthquakes in a two-asperity fault model