What is the difference between Petrarchan and Shakespearean sonnets?

What is the difference between Petrarchan and Shakespearean sonnets?