6-amino quinazoline or 3-cyano quinoline derivatives, methods of preparation and pharmaceutical uses thereof