Parametric Identification of Power Impedances to improve Stability and Accuracy of Power-Hardware-inthe-Loop Simulations