Club Brugge scored three first-half goals as they beat Serie A side Atalanta to progress in the second leg of their Champions League knockout play-off at Gewiss Stadium.