Deep-neural-network solution of the electronic Schrödinger equation