Complex dynamics in an OLG model of neoclassical growth with endogenous retirement age and public pensions