Method and system for energy management of a hybrid vehicle