Elasticities, Markups and Technical Progress: Evidence from a State-Space Approach