Exclusive branching fraction measurements of semileptonic tau decays into three charged hadrons, $\tau^- \to \phi \pi^- \nu_\tau$ and $\tau^- \to \phi K^- \nu_\tau$