A study of cyclohexane, piperidine and morpholine with X-ray diffraction and molecular simulations