Factors associated with using a care home for older people living in Scotland: analyses using linked administrative data