Two-stage rifting of Pangea by two different mechanisms