Scotland second row forward Dale Ferguson has been banned for two matches and will miss Friday's World Cup quarter-final with New Zealand.