Methods for study of imidazole compounds and application to brain and cancer cells