New York City nurses end strike after securing better staffing and higher pay