A photoelectron-ion multiple coincidence technique applied to core ionization of molecules