African Union says Libya accepts cease-fire plan