A rubber boat carrying migrants has capsized off the Turkish holiday resort of Bodrum after a high-speed chase, killing 18 people, officials have said.