A novel method for determination of the maximum stable feedback level in laser diodes