Police in Barcelona evacuated two trains in the city's main station and are conducting checks for explosives.