Electrical problem may have caused barn fire, killed cows