Social network characteristics and the duration of primary relationships after entry into long-term care.