John Swinney has hit out at the the UK Government's plans to house asylum seekers at an army barracks in the Highlands.