Linear stability of Taylor–Couette flow of shear-thinning fluids: modal and non-modal approaches