Enemy-free space and habitat-specific host specialization in a butterfly