On the Determination of the Optical Depth of 21-cm Emission Line Profiles