The author on his “minor breakdown”, why James Bond can’t be a woman, and what the UK is getting wrong on immigration