Raise exception for sparse inputs in the case of svd solver

Fix for #3709 
Ping @agramfort 
You're in [good company](https://github.com/numpy/numpy/commit/b8179388d3868be2cc26b6ca12e937c7f83a9d5c) ;)