Constraints on the identity of the dark matter from strong gravitational lenses