Kink solitary solutions to generalized Riccati equations with polynomial coefficients