Electronic conduction and switching in chalcogenide glasses