Post-Brexit immigration plan unveiled by government