The freezing threshold for k-colourings of a random graph