Risk factors for cardiovascular complications following total joint replacement surgery.