A constrained discrete layer model for heat conduction in laminated composites