On the performance of switching BFGS/SR1 algorithms for unconstrained optimization