IAG agrees to acquire bmi from Lufthansa