Two global oil giants, Eni and Shell, are to stand trial in Italy over allegations of corruption in Nigeria.