Reconstructing the matter power spectrum with future cosmic shear surveys