Accurate description of hybridized local and charge-transfer excited-state in donor–acceptor molecules using density functional theory