Tenaris posts 167% rise in Q2 core profits