Scotland's men's curling team won its opening match at the European Curling Championships. The women's team also began the tournament with a victory.