Experimental and theoretical investigation of substituent effects in a two-pathway reaction of tetrahydro-1,5-benzodiazepine-2-thiones with 4-substituted 2-bromoacetophenones