Measurement of W gamma and Z gamma production in proton-proton collisions at root s=7 TeV with the ATLAS detector