Mathematical model explains marital breakups