Learning and investment under demand uncertainty in container shipping