Two Iranian nationals who entered the UK on small boats have been charged with preparing acts of terrorism, the Metropolitan Police said in a statement, with tensions between Britain and Iran already high over another security incident.