TORM posts record Q2 profit of $338m as freight rates surge