An analytical method for position reconstruction in two-dimensional position-sensitive silicon detectors