Modulation Instability and Pattern Formation in Two-component Bose-Einstein Condensates