Enhancement of figure of merit of thermoelectric materials: a new theoretical approach