Layered structures and epitaxy