The use of an imaging proportional counter in macromolecular crystallography