The history of permanent ­magnets