Time-dependent Maxwell fields and energy densities for an atom in front of a conducting wall