Shell reports record profit of $39.9bn