Sparklers on champagne bottles started the Swiss ski resort bar fire that killed at least 40 people, authorities say.