Opening the conformation is a master switch for the dual localization and phosphatase activity of PTEN