Malcolm Turnbull has used the win by the leave campaign to warn that the result could cause a “shock”