Product differentiation and market segmentation

What is the difference between product differentiation and market segmentation?