Study: Hospitals actually profit from surgical errors