Franklin had been a vegetarian when discovering electricity and writing 'an apple a day keeps the doctor away'