python sqlite select into dictionary