57Fe Mössbauer study of Y2Fe16M compounds and their nitrides with M = Ga, V