Ampoule filling and sealing machine