Brazil win third successive Confederations Cup by defeating the world champions Spain 3-0 at the Maracanã.