Measurements of underlying-event properties using neutral and charged particles in pp collisions at root s=900 GeV and root s=7 TeV with the ATLAS detector at the LHC