Bifurcation analysis of mixed-mode oscillations and Farey trees in an extended Bonhoeffer–van der Pol oscillator