Man gets 20-year term for starving, beating foster children