Medtronic second-quarter earnings rise; top estimates