Separation of 5d and 4f contributions to the electric field gradient in heavy rare-earths