Tradeoff in simultaneous quantum-limited phase and loss estimation in interferometry