Fast simulation of electromagnetic showers in the ATLAS calorimeter: Frozen showers