Thin films and nanowires of molecule-based conductors and magnets