Electromechanical switches in compact surface mount packages