Ferromagnetism in UGe2: A microscopic model