Quadrilateral-free graphs with maximum number of edges