The three-dimensional power spectrum of dark and luminous matter from the VIRMOS-DESCART cosmic shear survey