Magnetic phase transitions in NdCoAsO