Generalized Verma modules, b-functions of semi-invariants and duality for twisted D-modules on generalized flag manifolds