Raise exception for sparse inputs in the case of svd solver

Fix for #3709 
Ping @agramfort 
Or use `randomized_svd` from `sklearn.utils.extmath`?