Fragmentation of relativistic oxygen nuclei in interactions with a proton