Calculation of the fundamental cutoff frequency in a case of waveguides of doubly connected cross section