Twisting functors and generalized Verma modules