Electronic structure and K-edge X-ray absorption of iron monosilicide