Decomposition pathways of the neutral and protonated formamide in some lower-lying excited states.