The initial-value problem for long waves of finite amplitude