Analytical reconstruction formula for one-dimensional Compton camera