A search for charmed particles originating from the interactions of 300 GeV/c protons in emulsion nuclei