Britain to take over Birmingham prison permanently from G4S