The age of elliptical galaxies and bulges in a merger model