Belgian official resigns after being criticized for inviting Tehran mayor to Brussels