The development of quantum theory