Nonlinear piezoelectric resonance: A theoretically rigorous approach to constant I−V measurements