The oil giant BP reports a 22% decline in profits at the end of what has been a tough year for the company.