Botched census cost 3x more per capita in Scotland