Bipolarons of the intermediate coupling and superconduction of non-metal crystals