Transient evolution of mechanical and electrical effects in microelectromechanical switches subjected to long-term stresses