Impact of the work environment on patients’ safety as perceived by nurses in Poland—a cross-sectional study