Instabilities and transient growth of the stratified Taylor–Couette flow in a Rayleigh-unstable regime