Study of the relationship between job stress and intention to leave the nursing profession