Exxon posts $2.7 billion quarterly profit after unprecedented year