The way people react when they see an “attractive alternative” enter their lives can predict whether they'll cheat on their partner.