Vibrational cooling and thermoelectric response of nanoelectromechanical systems