study determines whether family or friends are the key to long life