Unexpectedly long hospital stays as an indicator of risk of unsafe care: an exploratory study