The metal insulator transition in two-dimensional systems with charged impurities