Targeted capture in evolutionary and ecological genomics