Chirped and chirp-free self-similar cnoidal and solitary wave solutions of the cubic-quintic nonlinear Schrödinger equation with distributed coefficients