The LHC diphoton resonance and dark matter