Restructuring charges hit profit at Spain’s Repsol