Repsol Q2 Profit Misses on Refining Margin Weakness