Risk and protective factors for the development of chronic diseases in nurses