Dynamical instabilities in a two-component Bose-Einstein condensate in a one-dimensional optical lattice