Computing excited states of molecules using normalizing flows