Exact analytic solutions for the damped Duffing nonlinear oscillator