How is sterilizing of Petri dishes related to the preparation of agar media?