Lattice design and optimization for the PEP-X ultra low emittance storage ring at SLAC