Energy giant BP has revealed a fall in profits in the face of lower oil prices and weaker refining margins than this time last year.