Experimental study of ternary fission of U235 with thermal and resonance neutrons