An optimization method of position resolution for gaseous thermal neutron detection based on time information