Coloured Alexander polynomials and KP hierarchy