Nonautonomous solitons, breathers and rogue waves for the cubic-quintic nonlinear Schrödinger equation in an inhomogeneous optical fibre