how did secularism come about