The fine-grained phase-space structure of cold dark matter haloes