A method for improving the spatial resolution of multiwire proportional chambers