Minnesota man sentenced to jail in revenge porn case