Initial boundary-value problems for the Korteweg-de Vries equation