What are the differences between pasteurization and sterilization in terms of preventing spoilage?