Naoya Inoue is the new IBF bantamweight champion after stopping Emmanuel Rodriguez in the second round in Glasgow.