Amenability of ultraproducts of Banach algebras