Two-stream approximations to radiative transfer in planetary atmospheres: a unified description of existing methods and a new improvement