Brazil take out their frustration at missing the Olympic final by beating Belgium 3-0 to take the bronze medal.