Fluctuations of brightness and vertical velocity at various heights in the photosphere