Electron and photon reconstruction and performance in ATLAS using a dynamical, topological cell clustering-based approach