Vertical distribution of Galactic disk stars - I. Kinematics and metallicity