Remand prisoner dies of cardiac arrest