Viewers' feelings about TV characters mimic real-life relationships, study shows