Rice with lentils and caramelized onions