Entanglement entropy and negative-energy fluxes in two-dimensional spacetimes