Influence of space charges on the current–voltage characteristic of organic light-emitting devices