Two get life imprisonment in UP for killing man in 2004