Martin Petrov's exit from Bolton has been confirmed after he completed a move to Spanish side Espanyol.