BP to invest $2.7 billion in Algerian oil ventures