Factors associated with the patient safety climate at a teaching hospital1