What are the differences between oviparity, ovoviviparity, and viviparity and how do they affect the development of offspring?