Microstructure of pulsed laser deposited ceramic–metal and polymer–metal nanocomposite thin films