Final NOMAD results on nu(mu) -> nu(tau) and nu(e) -> nu(tau) oscillations including a new search for nu(tau) appearance using hadronic tau decays