Uniqueness and stability in the Cauchy problem for Maxwell and elasticity systems