Magnetic phase transitions and entropy change in layered NdMn1.7Cr0.3Si2