Search for E2 strength in electrofission of 238U and 232Th