Aluminium and titanium nitride coatings on graphite, prepared by pyrolysis of a polymeric precursor film