Adverse events and contributing factors in Chinese nursing homes: a multisite cross-sectional study