UP: Four of family convicted in dowry death case