how were the great plains formed