Dynamic effects of trade openness on financial development