Two-proton and two-neutron correlation functions for intermediate-energy heavy-ion reactions