Water structure and electron trapping in aqueous ionic solutions