Effects of climate change on reptiles with temperature-dependent sex determination and potential adaptation via maternal nest-site choice