Improved Earnings for Kodak in Second Quarter, Smaller Loss