The common envelope phase in classical novae - One-dimensional models