Crystal and magnetic structure of CaCo1.86As2 studied by x-ray and neutron diffraction