Non-linear nanoelectromechanical systems for energy harvesting