Macroeconomic fluctuations and firm entry: theory and evidence