Three-dimensional micro assembly of a hinged nickel micro device by magnetic lifting and micro resistance welding