Elastic domains and polydomain phases in solids