What Went Wrong at Jurassic Park? Modes of Sex Determination and Adaptive Sex Allocation in Reptiles