Theoretical study of the cis-trans isomerization mechanism of azobenzene containing carboxy groups