Measurement of W gamma and Z gamma production cross sections in pp collisions at root s=7 TeV and limits on anomalous triple gauge couplings with the ATLAS detector