Factors associated to the job satisfaction of university teaching staff