Marta, 39, gjorde två mål och såg till att Brasilien vann Copa América för femte gången i följd och nionde totalt.