Study of final-state radiation in decays of Z bosons produced in pp collisions at 7 TeV