Spectral optical monitoring of 3C 390.3 in 1995–2007 - I. Light curves and flux variation in the continuum and broad lines