Metal versus polymer electrodes in organic devices: Energy level alignment, hole injection, and structure