The maximum number of 4-cycles in bipartite d-regular graphs on 2n vertices