Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles