Van der Waals and Capillary Adhesion of Microelectromechanical Systems