Molecular shocks and the massive outflow in NGC 3079