Infrared cameras have enabled scientists to determine what makes for a successful cricket sex life. David Biello reports