Wronskians, generalized Wronskians and solutions to the Korteweg–de Vries equation