Competition, firm size and returns to skills. Evidence from currency shocks and market liberalizations