Frequency separation of surface acoustic waves in layered structures with acoustic metamaterials