Which element was rare and valuable until 1886 when an inexpensive way of producing the metal from its mineral ore was discovered?