Regular visits from friends and family protect against dying, finds study