Analytical solution of the Percus-Yevick equation for the sticky hard-sphere model in odd dimensions