Chevron posts $8.3 billion loss on write downs, job cuts