Periodicity of quasar and galaxy redshift