Spiral magnetic structure of Fe in Van der Waals gapped FeOCl and polyaniline-intercalated FeOCl