Compassion fatigue and loneliness at work in nurses–the mediating role of resilience: a cross-sectional study