Amazon, which ships millions of packages a year to shopper’s doorsteps, says it wants to be greener.