Electrically conductive foam seals