How fish evolved electric organs