Wells Fargo posts higher quarterly profit