how did Benjamin Franklin come to study electricity?