Piotr Zielinski scored twice as Poland brushed past San Marino, who had the consolation of breaking their goal duck in World Cup qualifying Group H.