Interaction between seismic and aseismic slip along a transcurrent plate boundary: a model for seismic sequences