Fast shower simulation in the ATLAS calorimeter