U.S. regulator clears way for online lenders to have national charter