Planar pixel sensors for the ATLAS upgrade: beam tests results