Migrants arriving illegally in the UK in small boats or stowed away in lorries will be refused British citizenship, new Home Office guidance states.