Critical buckling loads of embedded perforated microbeams with arbitrary boundary conditions via an efficient solution method