Imran gets protective bail in two cases