An emergence of chiral helimagnetism or ferromagnetism governed by Cr intercalation in a dichalcogenide CrNb3S6