Stereoscopic determination of the three-dimensional geometry of coronal magnetic loops