An approximation method for the analysis of GI/G/1 queues