Two Algeria ex-PMs get heavy jail terms in graft trial