Joining pipes to walls or to other pipes, the axis of the joined pipe being perpendicular to the wall or to the axis of the other pipe