Determination of cutoff frequencies of waveguides with arbitrary cross sections by point-matching