Quality work environment and quality of work life: a study of nursing staff in public sector hospitals