Excited state dynamics with the direct trajectory surface hopping method: azobenzene and its derivatives as a case study