An approximation method for the characteristics of the sequential probability ratio test