Experimental and theoretical investigations of spectroscopic properties of azobenzene derivatives in solution