Meson exchange and pion rescattering contributions to the cross section for pp → ppπ0