Electronic states of cyclobutadiene heteroanalogs. Critical biradicaloids