First-principles studies of superhard BC8N structures