Microstructure and coercivity of granular FePt–AlN thin films