On skew derivations and generalized skew derivations in Banach algebras