2 in custody following pursuit near Phoenix