The government and the Palace are ‘working closely to ensure that security arrangements are put appropriately in place’ ahead of the King’s state visit