Structural modifications of crystalline and amorphous Ni3B irradiated with high-energy heavy ions