Occupational stress and associated risk factors among nurses: a cross-sectional study