Study: Medical errors are third leading cause of death in US