Influence of polymers on flow and heat transfer due to peristaltic waves: a molecular approach