UK supermarket group Sainsbury's has said it plans to phase out selling battery eggs by 2012.