Probing changes of dust properties along a chain of solar-type prestellar and protostellar cores in Taurus with NIKA