Schwinger and anomaly-free Kohn variational principles and a generalized Lanczos algorithm for nonsymmetric operators.