Structural and chemical characterization of BN thin films deposited onto Si(100) and graphite substrates by pulsed laser deposition