A direct probe of cosmological power spectra of the peculiar velocity field and the gravitational lensing magnification from photometric redshift surveys