Aircraft with electric batteries, in particular a hybrid aircraft