A compact analytical method for vibration of micro-sized beams with different boundary conditions