Anomaly constraints on supersymmetric effective lagrangians