Stable Port-Hamiltonian Neural Networks