Metal-insulator type nano-granular magnetic thin films -soft magnetic properties, TMR effect and their applications-