Former Labor ministers Eddie Obeid and Ian Macdonald jailed