Lilly buys rights to intranasal diabetes treatment