Periodic solutions and chaos in a delay-differential equation modelling haematopoesis