Legal responsibility of deputies and representative bodies: the general theoretical aspect