Foreign criminals in prisons across England and Wales will be deported at an earlier point in their sentence under new government plans.