Time-adaptive SympNets for separable Hamiltonian systems