Deep neural network for pixel-level electromagnetic particle identification in the MicroBooNE liquid argon time projection chamber