Measuring properties of dark matter at the LHC