Photoinduced electron-ejection from methylene blue in water and acetonitrile