Soliton solutions of the Korteweg de Vries and the Kadomtsev-Petviashvili equations: the Wronskian technique