Tax policies, vintage capital, and exit and entry of plants