The theory of very weak itinerant ferromagnetism applied to Ni3Ga and Ni3Al