How is trichomoniasis diagnosed?