Polynomial parametrization of the solutions of Diophantine equations of genus 0