Factors affecting nurses' professional commitment during the COVID‐19 pandemic: A cross‐sectional study