Clamp for welding profile pipes at different angles