The labor market effects of trade unions: Layard meets Melitz