Foreign versus local firms: implications for environmental sustainability