How to prove this inequality: $$(x_1y_1+x_2y_2+ \cdots + x_ny_n)^2 - (x_1^2y_1^2+x_2^2y_2^2+\cdots+x_n^2y_n^2)\leq 1-\frac{1}{n},$$ where $x_i,y_i \geq 0,i=1,2,\ldots,n$, and $x_1^2+x_2^2+\cdots+x_n^2=y_1^2+y_2^2+\cdots+y_n^2=1$?
Clearly, the equality is reached when $x_i=y_i=\frac{1}{n},i=1,2,\ldots,n$.