On-off relationships can be “toxic” for mental health, says study