Kodak raised spending on lobbying government in months before loan awarded