Three members of Cape Cod heroin trafficking ring sentenced