Kinemetry: a generalization of photometry to the higher moments of the line-of-sight velocity distribution