How people fall in love, according to science