Stock returns and real activity: A structural approach