ENH: speed up some scipy sparse conversions