Complex dynamical behaviour in the interaction between HIV and the immune system