An efficient neural-network and finite-difference hybrid method for elliptic interface problems with applications