Arsenal midfielder Mikel Merino scored twice as Spain beat Bulgaria to move closer to qualifying for the 2026 World Cup.