Spatial resolution of Medipix-2 device as neutron pixel detector