Production of the excited charm mesons D-1 and D-2* at HERA