Landau-Zener transitions mediated by an environment: population transfer and energy dissipation.