Scotland's population hits record high despite 'hostile environment' at Westminster